package com.bolehui.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bolehui.base.domain.entity.AbstractBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author chendongjie     email:chendongjie@gz.iscas.ac.cn
 * @version 1.0
 * @ClassName conversation
 * @Description
 * @createTime 2025/3/15-11:47
 * Copyright (C) 2021-2022 CASEEDER, All Rights Reserved.
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("conversations")
public class Conversation extends AbstractBaseEntity {

    @TableId(value = "id", type = IdType.AUTO) // 使用数据库自增主键
    private Long id;
    private Long employerId;
    private Long candidateId;
    private String lastMessage;
    private int unread;
    private String viewState; // 已投递 不合格 已录用
    private String progress; // 初筛 面试 录用
    private Long jobId;
    private String jobName;

}
